import _fetch from "api_liuhaojie/fetch";
/**
 * 查询淘券商品信息
 * @responses { Object } 返回参数
 * {
 *   goodsNo undefined
 *   sellStatus undefined
 *   goodsTypeId undefined
 *   price undefined
 *   name undefined
 *   stockNum undefined
 * }
 */
export function queryTaoQuanGoodsList(data) {
  return _fetch({
    url: "backend/taoquan/queryTaoQuanGoodsList",
    method: "POST",
    data: data,
    headers: {}
  });
}
/**
 * 查询淘券商品库存
 * @param { Object } data 请求参数
 * {
 *   goodsNo undefined
 * }
 */
export function queryStock(data) {
  return _fetch({
    url: "backend/taoquan/queryStock",
    method: "POST",
    data: data,
    headers: {}
  });
}